<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<style type="text/css">
	#user-content{
		width: 500px;
		/* margin: 0 0 0 -150px; */
	}
</style>

<div class="modal fade" id="user-dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" id="user-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3 style='font-weight: bold;'>用户信息</h3>
            </div>
            <div class="modal-body">
                <div class="box-content">
	                <form id="user-form" class="form-inline">
	                	<input type="hidden" name="user.id">
	                    <div class="form-group">
	                        <label>登录名：</label>
	                        <input name="user.loginname" type="text" class="form-control">
	                    </div>
	                    <div class="clearfix"></div><br>
	                    <div class="form-group">
	                        <label>用户名：</label>
	                        <input name="user.username" type="text" class="form-control">
                        </select>
	                    </div>
	                    <div class="clearfix"></div><br>
	                    <div class="form-group">
	                        <label>用户类型：</label>
		                    <select name="user.type" type="text" class="form-control">
		                    	<option value="">--请选择--</option>
		                    	<option value="1">教师</option>
		                    	<option value="2">学生</option>
		                    	<option value="3">专家</option>
		                    </select>
		                </div>
		                <div class="clearfix"></div><br>
	                </form>
	            </div>
            </div>
            <div class="modal-footer">
                <a href="javascript:;" class="btn btn-default" onclick="saveUser();">保存</a>
            </div>
        </div>
    </div>
</div>